<!doctype html>
<html lang="zh-CN">
<head>
	<meta name="generator" content="Hugo 0.74.2" />

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <meta name="referrer" content="no-referrer-when-downgrade">
    

    <title>Java专家随笔记 | 一切有为法，如梦幻泡影，如露亦如电，应作如是观</title>
    <meta property="og:title" content="Java专家随笔记 | 一切有为法，如梦幻泡影，如露亦如电，应作如是观">
    <meta property="og:type" content="website">
    <meta name="Keywords" content="Java,算法......其他以后再加">
    <meta name="description" content="Java学徒，不限于Java">
    <meta property="og:url" content="https://gwozai.gitee.io/">
    <link rel="shortcut icon" href='/favicon.ico'  type="image/x-icon">

    <link rel="stylesheet" href='/css/normalize.css'>
    <link rel="stylesheet" href='/css/style.css'>
    <link rel="alternate" type="application/rss+xml+xml" href="https://gwozai.gitee.io/index.xml" title="Java专家随笔记" />
    <script type="text/javascript" src="//cdn.bootcdn.net/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

    
    
    
        <link href="https://cdn.bootcdn.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" rel="stylesheet">
    
    
    
    
        <link rel="stylesheet" href='/css/douban.css'>
    
        <link rel="stylesheet" href='/css/other.css'>
    
</head>


<body>
    <header id="header" class="clearfix">
    <div class="container">
        <div class="col-group">
            <div class="site-name ">
                
                    <h1>
                        <a id="logo" href="https://gwozai.gitee.io/">
                            Java专家随笔记
                        </a>
                    </h1>
                
                <p class="description">一切有为法，如梦幻泡影，如露亦如电，应作如是观</p>
            </div>
            <div>
                <nav id="nav-menu" class="clearfix">
                    <a class="current" href="https://gwozai.gitee.io/">首页</a>
                    
                    <a  href="https://gwozai.gitee.io/tools/" title="工具">工具</a>
                    
                    <a  href="https://gwozai.gitee.io/archives/" title="归档">归档</a>
                    
                    <a  href="https://gwozai.gitee.io/about/" title="关于">关于</a>
                    
                </nav>
            </div>
        </div>
    </div>
</header>

    <div id="body">
        <div class="container">
            <div class="col-group">

                <div class="col-8" id="main">
                    
<div class="res-cons">
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/%E7%88%AC%E8%99%AB-1-IP%E4%BB%A3%E7%90%86%E6%B1%A0/" title="IP代理池">IP代理池</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2022年1月25日
        </date>
        
        <div class="post-content">
            爬虫 1 -IP代理池 IP代理池 [time=Tue, Jan 25, 2022 9:34 PM] 原文链接 dokcer-compose文件下载 1 2 # docker-compose 一键部署 docker-compose up 测试 随机一个代理IP http://ippool.gwozai.com/random IP数量统计 http://ippool.gwozai.com/count 用python代码获取代理IP import requests proxypool_url = 'http://ippool.gwozai.com/random' target_url = 'http://www.baidu.com' def get_random_proxy(): &quot;&quot;&quot; get random proxy from proxypool :return: proxy &quot;&quot;&quot; return requests.get(proxypool_url).text.strip() def crawl(url, proxy): &quot;&quot;&quot; use proxy to crawl page :param url: page url :param proxy: proxy, such as 8.8.8.8:8888 :return: html &quot;&quot;&quot; proxies = {'http': 'http://' + proxy} return requests.get(url, proxies=proxies).text def main(): &quot;&quot;&quot;……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/%E7%88%AC%E8%99%AB-1-IP%E4%BB%A3%E7%90%86%E6%B1%A0/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/java11/" title="centos 安装 java 11">centos 安装 java 11</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2022年1月5日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/java'>java</a></span>
            
        </div>
        
        <div class="post-content">
            centos7 安装java11 第一步：肯定是下载jdk，我下载的是&rdquo;.tar.gz&quot;格式的文件。然后传到合适的地址上。 可以的话去官网下载试试,不想麻烦的话用这个jdk-11.0.13_linux-x64_bin.tar.gz 第二步：解压jdk的安装包，&ldquo;ta……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/java11/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/hitokoto/" title="一言的本地搭建">一言的本地搭建</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2021年12月17日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/%E4%B8%80%E8%A8%80'>一言</a></span>
            
        </div>
        
        <div class="post-content">
            可以跑起来了 还需要有更灵活的手段 docker 安装 我把服务器的6379端口关了 先有一个没有密码的redis， docker run -it -v /mydata/hitokoto:/usr/src/app/data &ndash;network host hitokoto/api:latest docker run -id &ndash;name redis -p 6379:6379 -v /mydata/redis/data:/data -v /mydata/redis/conf/redis.conf:/etc/redis/redis.conf -d redis redis-server /etc/redis/redis.conf docker run -id -v /mydata/hitokoto:/usr/src/app/data --network host hitokoto/api:latest 用docker安装redis &ndash;network 再用docker安装hitokoto 示例 https://v1.hitokoto.cn/?c=f&amp;encode=text 看一下nginx如何反向代理 nginx代理 那么麻烦……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/hitokoto/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/mail/" title="邮箱服务">邮箱服务</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2021年12月13日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/mail'>mail</a></span>
            
        </div>
        
        <div class="post-content">
            邮箱服务 python 发送邮件 #coding: utf-8 # +------------------------------------------------------------------- # | 宝塔Linux面板 # +------------------------------------------------------------------- # | Copyright (c) 2015-2099 宝塔软件(http://bt.cn) All rights reserved. # +------------------------------------------------------------------- # | Author: 王张杰 &lt;750755014@qq.com&gt; # +------------------------------------------------------------------- #------------------------------ # send mail api demo of Python #------------------------------ import requests def send_mail(mail_from, password, mail_to, subject, content, subtype=None): # 要调用的发件接口地址，例如http://192.168.1.11:8888/mail_sys/send_mail_h……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/mail/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/sizhi/" title="聊天机器人">聊天机器人</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2021年12月12日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/%E8%81%8A%E5%A4%A9%E6%9C%BA%E5%99%A8%E4%BA%BA'>聊天机器人</a></span>
            
        </div>
        
        <div class="post-content">
            思知机器人 想在博客里添加闲聊功能，想要一个机器人，之前试过图灵机器 机器人项目汇总 (17条消息) 史上最全面聊天机器人总结，图灵、思知、小爱、小微，作者已接入到自己的开源IM项目中使用_xmcy001122的专栏-CSDN博客_思知机器人 聊天机器人gitee资料 Awesome-Chatbot: 聊天机器人资源合集：……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/sizhi/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/z/" title="minio">minio</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2021年12月12日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/%E6%9D%82%E8%AE%B0'>杂记</a></span>
            
        </div>
        
        <div class="post-content">
            服务器白嫖 百度云 可以白嫖三个月 已经白嫖过的 腾讯云 阿里云……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/z/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/activeMQ/" title="github图床加速">github图床加速</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2021年12月12日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/github'>github</a></span>
            
        </div>
        
        <div class="post-content">
            ActiveMQ 的安装 docker上安装ActiveMQ - 红酒人生 - 博客园 (cnblogs.com) docker 安装 docker images docker search activemq docker pull webcenter/activemq docker run -d --name activemq -p 61617:61616 -p 8162:8161 docker.io/webcenter/activemq:latest 有堆栈 队列 主题……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/activeMQ/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/oneindex/" title="Oneindex">Oneindex</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2021年12月12日
        </date>
        
        <div class="post-content">
            # oneindex的安装……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/oneindex/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/dos/" title="dos命令">dos命令</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2021年12月12日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/dos'>dos</a></span>
            
        </div>
        
        <div class="post-content">
            bat脚本 循环 // 循环脚本 :start ping gwozai.com -n 6 # 暂停六秒 goto start/zfile……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/dos/">阅读全文</a></p>
    </article>
    
    <article class="post">
        <header>
            <h1 class="post-title">
                <a href="https://gwozai.gitee.io/post/pycharm/" title="Pycharm">Pycharm</a>
            </h1>
        </header>
        <date class="post-meta meta-date">
            2021年12月12日
        </date>
        
        <div class="post-content">
            pycharm 的安装 破解包 安装包……
        </div>
        <p class="readmore"><a href="https://gwozai.gitee.io/post/pycharm/">阅读全文</a></p>
    </article>
    
    



<ol class="page-navigator">
    

    
    <li  class="current">
        <a href="https://gwozai.gitee.io/">1</a>
    </li>
    
    <li >
        <a href="https://gwozai.gitee.io/page/2/">2</a>
    </li>
    
    <li >
        <a href="https://gwozai.gitee.io/page/3/">3</a>
    </li>
    
    <li >
        <a href="https://gwozai.gitee.io/page/4/">4</a>
    </li>
    

    
    <li class="next">
        <a href="https://gwozai.gitee.io/page/2/">下一页</a>
    </li>
    
</ol>



</div>

                    <footer id="footer">
    <div>
        &copy; 2022 <a href="https://gwozai.gitee.io/">Java专家随笔记 By gwozai</a>
        
        | <a rel="nofollow" target="_blank" href="http://www.beian.miit.gov.cn/">晋ICP备2020013641号-3</a>
        
    </div>
    <br />
    <div>
        <div class="github-badge">
            <a href="https://gohugo.io/" target="_black" rel="nofollow"><span class="badge-subject">Powered by</span><span class="badge-value bg-blue">Hugo</span></a>
        </div>
        <div class="github-badge">
            <a href="https://www.flysnow.org/" target="_black"><span class="badge-subject">Design by</span><span class="badge-value bg-brightgreen">飞雪无情</span></a>
        </div>
        <div class="github-badge">
            <a href="https://github.com/flysnow-org/maupassant-hugo" target="_black"><span class="badge-subject">Theme</span><span class="badge-value bg-yellowgreen">Maupassant</span></a>
        </div>
    </div>
</footer>



<a id="rocket" href="#top"></a>
<script type="text/javascript" src='/js/totop.js?v=0.0.0' async=""></script>



    <script type="text/javascript" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" async></script>




    <script src='/js/douban.js'></script>

                </div>

                <div id="secondary">
    <section class="widget">
        <form id="search" action='https://gwozai.gitee.io/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
      
      <input type="text" name="q" maxlength="20" placeholder="Search">
      <input type="hidden" name="sitesearch" value="https://gwozai.gitee.io/">
      <button type="submit" class="submit icon-search"></button>
</form>
    </section>
    
    <section class="widget">
        <h3 class="widget-title">最近文章</h3>
<ul class="widget-list">
    
    <li>
        <a href="https://gwozai.gitee.io/post/%E7%88%AC%E8%99%AB-1-IP%E4%BB%A3%E7%90%86%E6%B1%A0/" title="IP代理池">IP代理池</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/java11/" title="centos 安装 java 11">centos 安装 java 11</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/hitokoto/" title="一言的本地搭建">一言的本地搭建</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/mail/" title="邮箱服务">邮箱服务</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/sizhi/" title="聊天机器人">聊天机器人</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/z/" title="minio">minio</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/activeMQ/" title="github图床加速">github图床加速</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/oneindex/" title="Oneindex">Oneindex</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/dos/" title="dos命令">dos命令</a>
    </li>
    
    <li>
        <a href="https://gwozai.gitee.io/post/pycharm/" title="Pycharm">Pycharm</a>
    </li>
    
</ul>
    </section>

    
<section class="widget">
    <h3 class="widget-title" style="color:red">福利派送</h3>
    <ul class="widget-list">
        
        <li>
            <a href="https://www.aliyun.com/activity/1111?userCode=q8qrpnxv" title="精心挑选的热门优惠云产品，登录客户点击链接即成为您的关联客户购买最高可获31%返现。" target="_blank" style="color:red">
                
                    <img src="https://cdn.jsdelivr.net/gh/ssazi/img//img/img440-240%201.jpg">
                
            </a>
        </li>
        
        <li>
            <a href="https://s.qiniu.com/ui2uiy" title="爆款云产品全年最低价，热门产品 0 元秒杀，参与抽奖赢新款 iPhone" target="_blank" style="color:red">
                
                    <img src="https://cdn.jsdelivr.net/gh/ssazi/img/img/259X194.jpg">
                
            </a>
        </li>
        
        <li>
            <a href="https://curl.qcloud.com/FbfrTIg9" title="【腾讯云】爆款1核2G云服务器首年48元，还有iPad Pro、Bose耳机、京东卡等你来抽！https://cloud.tencent.com/act/cps/redirect?redirect=1575&amp;cps_key=84e8cfc536a354a142b3335df9b399aa&amp;from=console" target="_blank" style="color:red">
                
                    <img src="https://cdn.jsdelivr.net/gh/ssazi/img/img/345x200.jpg">
                
            </a>
        </li>
        
    </ul>
</section>


    <section class="widget">
        <h3 class="widget-title"><a href='/categories/'>分类</a></h3>
<ul class="widget-list">
    
    <li><a href="https://gwozai.gitee.io/categories/PySimpleGUi/">PySimpleGUi (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/Redis/">Redis (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/TODO/">TODO (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/Vmware/">Vmware (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/docker/">docker (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/dos/">dos (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/frp/">frp (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/git/">git (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/github/">github (2)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/java/">java (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/linux/">linux (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/mail/">mail (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/minio/">minio (2)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/mysql/">mysql (2)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/nginx/">nginx (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/oss/">oss (2)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/python/">python (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/%E4%B8%80%E8%A8%80/">一言 (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/%E5%8A%A0%E9%80%9F%E5%99%A8/">加速器 (3)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/%E5%8D%9A%E5%AE%A2/">博客 (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/">数据结构 (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/">机器学习 (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/%E6%9D%82%E8%AE%B0/">杂记 (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/%E6%B1%87%E7%BC%96%E5%8E%9F%E7%90%86/">汇编原理 (1)</a></li>
    
    <li><a href="https://gwozai.gitee.io/categories/%E8%81%8A%E5%A4%A9%E6%9C%BA%E5%99%A8%E4%BA%BA/">聊天机器人 (1)</a></li>
    
</ul>
    </section>

    <section class="widget">
        <h3 class="widget-title"><a href='/tags/'>标签</a></h3>
<div class="tagcloud">
    
    <a href="https://gwozai.gitee.io/tags/PySimpleGUi/">PySimpleGUi</a>
    
    <a href="https://gwozai.gitee.io/tags/Redis/">Redis</a>
    
    <a href="https://gwozai.gitee.io/tags/TODO/">TODO</a>
    
    <a href="https://gwozai.gitee.io/tags/docker/">docker</a>
    
    <a href="https://gwozai.gitee.io/tags/dos/">dos</a>
    
    <a href="https://gwozai.gitee.io/tags/frp/">frp</a>
    
    <a href="https://gwozai.gitee.io/tags/git/">git</a>
    
    <a href="https://gwozai.gitee.io/tags/github/">github</a>
    
    <a href="https://gwozai.gitee.io/tags/java/">java</a>
    
    <a href="https://gwozai.gitee.io/tags/linux/">linux</a>
    
    <a href="https://gwozai.gitee.io/tags/mail/">mail</a>
    
    <a href="https://gwozai.gitee.io/tags/minio/">minio</a>
    
    <a href="https://gwozai.gitee.io/tags/mysql/">mysql</a>
    
    <a href="https://gwozai.gitee.io/tags/nginx/">nginx</a>
    
    <a href="https://gwozai.gitee.io/tags/python/">python</a>
    
    <a href="https://gwozai.gitee.io/tags/vmware/">vmware</a>
    
    <a href="https://gwozai.gitee.io/tags/%E4%B8%80%E8%A8%80/">一言</a>
    
    <a href="https://gwozai.gitee.io/tags/%E5%8A%A0%E9%80%9F%E5%99%A8/">加速器</a>
    
    <a href="https://gwozai.gitee.io/tags/%E5%8D%9A%E5%AE%A2/">博客</a>
    
    <a href="https://gwozai.gitee.io/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/">数据结构</a>
    
    <a href="https://gwozai.gitee.io/tags/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/">机器学习</a>
    
    <a href="https://gwozai.gitee.io/tags/%E6%B1%87%E7%BC%96%E5%8E%9F%E7%90%86/">汇编原理</a>
    
    <a href="https://gwozai.gitee.io/tags/%E8%81%8A%E5%A4%A9%E6%9C%BA%E5%99%A8%E4%BA%BA/">聊天机器人</a>
    
</div>
    </section>

    
<section class="widget">
    <h3 class="widget-title">友情链接</h3>
    <ul class="widget-list">
        
        <li>
            <a target="_blank" href="http://zfile.gwozai.com" title="我的分享盘">我的分享盘</a>
        </li>
        
        <li>
            <a target="_blank" href="https://www.cnblogs.com/gwozai/" title="博客园">博客园</a>
        </li>
        
        <li>
            <a target="_blank" href="http://note.gwozai.com" title="在线记事本">在线记事本</a>
        </li>
        
    </ul>
</section>


    <section class="widget">
        <h3 class="widget-title">其它</h3>
        <ul class="widget-list">
            <li><a href="https://gwozai.gitee.io/index.xml">文章 RSS</a></li>
        </ul>
    </section>
</div>
            </div>
        </div>
    </div>
</body>

</html>